﻿using OPC.DataBase.DAL;
using OPC.DataBase.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OPC.DataBase.BLL
{
    public class OPCLogService
    {
        private OPCLogDAL DAL = new OPCLogDAL();

        /// <summary>
        /// OPCLOG表插入
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        public long Add(OPCLOG entity)
        {
            var result = DAL.Insert(entity);
            return result;
        }
    }
}
